﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Proggy.Data.Abstract;
using Proggy.Web.Cms.AppHelpers;
using Proggy.Web.Cms.Repositories.Membership;

namespace Proggy.Web.Cms.Controllers.BackEnd
{
    public class HomeController : BackEndControllerBase
    {
        public ActionResult Index() {

            return View();
        }

        [ChildActionOnly]
        public PartialViewResult NavPartial() { 
            // get sections
            var sections = BackEndSections.Sections;

            //
            return PartialView(sections);
        }
    }
}